package cn.hpu.mobile_bank.service;


import cn.hpu.mobile_bank.domain.Mobile;
import cn.hpu.mobile_bank.dto.req.LoginFormReq;
import cn.hpu.mobile_bank.dto.req.RegisterReq;
import cn.hpu.mobile_bank.dto.resp.ApiResult;
import cn.hpu.mobile_bank.dto.resp.LoginResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author DELL
* @description 针对表【mobile】的数据库操作Service
* @createDate 2024-06-13 15:23:06
*/
public interface MobileService extends IService<Mobile> {


    ApiResult<LoginResponse> login(LoginFormReq loginFormReq);

    ApiResult<String> sendCode(String phone);

    ApiResult<String> checkCode(RegisterReq registerReq);

    ApiResult<String> register(RegisterReq register);
}
